// 题目三 练习2
// app.js
const fp = require('lodash/fp')
const { Maybe, Container } = require('./support')

let xs = Container.of(['do', 'ray', 'me', 'fa', 'so', 'la', 'ti', 'do'])

let ex2 = () => {
    const functor = xs.map(fp.first)
    return functor._value
}
console.log(ex2()) // 'do'
